#ifndef __TCP_CONNECTION__
#define __TCP_CONNECTION__
#include"SocketIO.h"
#include"Socket.h"
#include<string>
using std::string;
class Tcpconnection{

public: 
    Tcpconnection(int fd);
    ~Tcpconnection();
    void send(const string &msg);
    string recv();
private:
    Socket _socket;
    SocketIO _soIO;
};
#endif
